package com.ssy.lingxi.fallback;

import com.ssy.lingxi.common.response.ResponseCode;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.dto.response.CorporateAccountConfigResponse;
import com.ssy.lingxi.feign.CorporateAccountConfigControllerFeign;
import org.springframework.stereotype.Component;

@Component
public class CorporateAccountConfigControllerFallback implements CorporateAccountConfigControllerFeign {
    /**
     * 结算能力-结算规则配置-对公账户配置
     *
     * @param memberId
     * @author wrc
     * @date 2020/8/25
     */
    @Override
    public Wrapper<CorporateAccountConfigResponse> corporateAccountConfig(Long memberId,Long memberRoleId) {
        return Wrapper.fail(ResponseCode.SETTLE_ACCOUNTS_SERVICE_ERROR);
    }
}
